package com.cash.loan.modular.cash.transfer;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author Administrator
 * @Date 2018-10-08 11:16
 */
public class UpdateCashVersionDto extends CashVersionDto {

    @NotEmpty(message = "id不能为空")
    private Integer id;

    public UpdateCashVersionDto() {
    }

    public UpdateCashVersionDto(String name, String number, String filePath, Integer id) {
        super(name, number, filePath);
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
